package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
* @author smq
* @since 2021-05-05
*/
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("HIS_CWGL_BED")
@TableName("HIS.CWGL_BED")
public class HisCwglBed implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "床位号编码")
    @ExcelProperty(value = "BED_NO")
    @TableField("BED_NO")
        private String bedNo;

    @ApiModelProperty(value = "床位号名称")
    @ExcelProperty(value = "NAME")
    @TableField("NAME")
        private String name;

    @ExcelProperty(value = "SDEPT_CODE")
    @TableField("SDEPT_CODE")
        private String sdeptCode;

    @ExcelProperty(value = "SDEPT_NAME")
    @TableField("SDEPT_NAME")
        private String sdeptName;

    @ApiModelProperty(value = "科室编码")
    @ExcelProperty(value = "DEPT_CODE")
    @TableField("DEPT_CODE")
        private String deptCode;

    @ApiModelProperty(value = "科室名称")
    @ExcelProperty(value = "DEPT_NAME")
    @TableField("DEPT_NAME")
        private String deptName;

    @ApiModelProperty(value = "院区(1三香 2 浒关)")
    @ExcelProperty(value = "YARD")
    @TableField("YARD")
        private String yard;

    @ApiModelProperty(value = "病区编码")
    @ExcelProperty(value = "NURSE_CELL_CODE")
    @TableField("NURSE_CELL_CODE")
        private String nurseCellCode;

    @ApiModelProperty(value = "病区名称")
    @ExcelProperty(value = "NURSE_CELL_NAME")
    @TableField("NURSE_CELL_NAME")
        private String nurseCellName;

    @ExcelProperty(value = "BED_WEAVE")
    @TableField("BED_WEAVE")
        private String bedWeave;

    @ExcelProperty(value = "BED_TYPE_NAME")
    @TableField("BED_TYPE_NAME")
        private String bedTypeName;

    @ApiModelProperty(value = "床位级别编码")
    @ExcelProperty(value = "BED_LEVEL_CODE")
    @TableField("BED_LEVEL_CODE")
        private String bedLevelCode;

    @ApiModelProperty(value = "床位级别名称")
    @ExcelProperty(value = "BED_LEVEL_NAME")
    @TableField("BED_LEVEL_NAME")
        private String bedLevelName;

    @ApiModelProperty(value = "床状态编码（a占床 b空床）")
    @ExcelProperty(value = "BED_STATE")
    @TableField("BED_STATE")
        private String bedState;

    @ApiModelProperty(value = "床状态名称")
    @ExcelProperty(value = "BED_STATE_NAME")
    @TableField("BED_STATE_NAME")
        private String bedStateName;

    @ApiModelProperty(value = "房间号")
    @ExcelProperty(value = "ROOM_NO")
    @TableField("ROOM_NO")
        private String roomNo;

    @ApiModelProperty(value = "集中编码（0非集中 1集中）")
    @ExcelProperty(value = "IF_GY")
    @TableField("IF_GY")
        private String ifGy;

    @ApiModelProperty(value = "集中名称")
    @ExcelProperty(value = "IF_GY_NAME")
    @TableField("IF_GY_NAME")
        private String ifGyName;

    @ApiModelProperty(value = "病区编码")
    @ExcelProperty(value = "WARD_CODE")
    @TableField("WARD_CODE")
        private String wardCode;

    @ApiModelProperty(value = "病区名称")
    @ExcelProperty(value = "WARD_NAME")
    @TableField("WARD_NAME")
        private String wardName;

    @ExcelProperty(value = "BED_SEX")
    @TableField("BED_SEX")
        private String bedSex;

    @ApiModelProperty(value = "住院流水号")
    @ExcelProperty(value = "INPATIENT_NO")
    @TableField("INPATIENT_NO")
        private String inpatientNo;

    @ApiModelProperty(value = "住院号")
    @ExcelProperty(value = "PATIENT_NO_SZ")
    @TableField("PATIENT_NO_SZ")
        private String patientNoSz;

    @ApiModelProperty(value = "病人姓名")
    @ExcelProperty(value = "PATIENT_NAME")
    @TableField("PATIENT_NAME")
    private String patinetName;

    @ApiModelProperty(value = "收治医生编码")
    @ExcelProperty(value = "HOUSE_DOC_CODE")
    @TableField("HOUSE_DOC_CODE")
        private String houseDocCode;

    @ApiModelProperty(value = "收治医生名称")
    @ExcelProperty(value = "HOUSE_DOC_NAME")
    @TableField("HOUSE_DOC_NAME")
        private String houseDocName;

    @ApiModelProperty(value = "值日护士编码")
    @ExcelProperty(value = "DUTY_NURSE_CODE")
    @TableField("DUTY_NURSE_CODE")
        private String dutyNurseCode;

    @ApiModelProperty(value = "值日护士名称")
    @ExcelProperty(value = "DUTY_NURSE_NAME")
    @TableField("DUTY_NURSE_NAME")
        private String dutyNurseName;

    @ApiModelProperty(value = "操作人编码")
    @ExcelProperty(value = "OPER_CODE")
    @TableField("OPER_CODE")
        private String operCode;

    @ApiModelProperty(value = "操作人名称")
    @ExcelProperty(value = "OPER_NAME")
    @TableField("OPER_NAME")
        private String operName;

    @ApiModelProperty(value = "操作时间")
    @ExcelProperty(value = "OPER_DTIME")
    @TableField("OPER_DTIME")
    private String operDtime;

    @ApiModelProperty(value = "集管床位备份")
    @ExcelProperty(value = "GY_BACK")
    @TableField(exist = false)
    private String gyBack;

    @TableField(exist = false)
    @ApiModelProperty(value = "预约标识,his是否确认 0:确认 1:不确认")
    private String isHisConfirm;


    @TableField(exist = false)
    @ApiModelProperty(value = "患者性别")
    private String sex;

    @TableField(exist = false)
    @ApiModelProperty(value = "性别颜色")
    private String sexColor;

    @TableField(exist = false)
    @ApiModelProperty(value = "床位用户是否可转床 0:可以")
    private String isNotChange;


    @TableField(exist = false)
    @ApiModelProperty(value = "")
    private Integer roomNo1;

    @TableField(exist = false)
    @ApiModelProperty("占床状态 0 占床 1取消占床 ")
    private String occupationState;

    @TableField(exist = false)
    @ApiModelProperty("占床主键")
    private String occupationId;

    @TableField(exist = false)
    @ApiModelProperty("占床对象")
    private OccupationBed occupationBed;

    @TableField(exist = false)
    @ApiModelProperty("医疗组长工号")
    private String ylzzCode;

    @TableField(exist = false)
    @ApiModelProperty("医疗组长姓名")
    private String ylzzName;

    @TableField(exist = false)
    @ApiModelProperty("出院医嘱类型（今日出院/明日出院   临时出院跟自动出院都归为今日出院）")
    private String changeType;

    @TableField(exist = false)
    @ApiModelProperty("预绑定标签，0:空  1:预绑定")
    private String prebundledType;

    @TableField(exist = false)
    @ApiModelProperty("特殊疾病护理SpecialDiseaseCare赋值用 0:否 1:是" )
    private Integer spFlag;


}
